<style>

  .green {
    background: green;
    position: absolute;
    width: 100%;
    height: 100px;
    transform: translateX(-200px);
  }

  .red {
    background: red;
    position: absolute;
    width: 100px;
    height: 100px;
    right: -50px;
  }

</style>

<div class="green">
  <div class="red"></div>
</div>
